package org.gruposp2p.aularest.model;

import java.util.Collection;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;
import javax.xml.bind.annotation.XmlType;

/**
 *
 * @author jj
 */
@XmlRootElement(name = "absences")
@XmlType
public class Absences {

    private Collection<Absence>  absenceCollection;

    /**
     * @return the absenceCollection
     */
    @XmlElement(name="absence")
    public Collection<Absence> getAbsenceCollection() {
        return absenceCollection;
    }

    /**
     * @param absenceCollection the absenceCollection to set
     */
    public void setAbsenceCollection(
            Collection<Absence> absenceCollection) {
        this.absenceCollection = absenceCollection;
    }

}
